enum DeliveryMode {
  SELF_PICKUP = "self_pickup",
  IN_CITY = "in_city",
  EXPRESS = "express",
}

export const isDeliveryMode = (val: any): val is DeliveryMode => {
  return DeliveryMode.SELF_PICKUP === val || DeliveryMode.IN_CITY === val || DeliveryMode.EXPRESS === val
}

export default DeliveryMode;